﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ISO
{
    class Tile
    {
        #region Constants
        private int TILE_WIDTH = 128;
        private int TILE_HEIGHT = 52;
        private int X_INTERVAL = 10;
        private int Y_INTERVAL = 20;
        #endregion

        #region Variables
        private int _x_index;
        private int _y_index;
        private int _width;
        private int _height;
        private int _level;
        private int _x_interval;
        private int _y_interval;
        #endregion

        #region Attributes
        public int XIndex
        {
            get { return _x_index; }
            set { _x_index = value; }
        }
        public int YIndex
        {
            get { return _y_index; }
            set { _y_index = value; }
        }
        public int Width
        {
            get { return _width; }
            set { _height = value; }
        }
        public int Height
        {
            get { return _height; }
            set { _height = value; }
        }
        public int XInterval
        {
            get { return _x_interval; }
            set { _x_interval = value; }
        }
        public int YInterval
        {
            get { return _y_interval; }
            set { _y_interval = value; }
        }
        #endregion

        #region Constructors
        public Tile(int i, int j)
        {
            _x_index = i;
            _y_index = j;
            _width = TILE_WIDTH;
            _height = TILE_HEIGHT;
            _x_interval = X_INTERVAL;
            _y_interval = Y_INTERVAL;
        }
        #endregion
    }
}
